{include file="header.tpl"}

<div id="main">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>

<div id="leftbox">
<h2>{$lan_member}{$lan_register}</h2>
{''|GetSystemInfo}
{if $showform}
<div id="leftbox_main">
<form method="post" action="{'register.php'|GetUrl}" id="main_register_form">
<input type="hidden" name="action" value="insertuser" />
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="160">{$lan_username}:&nbsp;</td>
<td><input type="text" name="username" size="20" value="{$user.username}" /> <span class="red">* {$lan_must}</span></td>
</tr>
<tr>
<td>{$lan_password}:&nbsp;</td>
<td><input type="text" name="password" size="20" value="{$user.password}" /> <span class="red">* {$lan_must}</span></td>
</tr>
<tr>
<td>{$lan_repassword}:&nbsp;</td>
<td><input type="text" name="repassword" size="20" value="{$user.repassword}" /> <span class="red">* {$lan_must}</span></td>
</tr>
<tr>
<td>{$lan_email}:&nbsp;</td>
<td><input type="text" name="email" size="20" value="{$user.email}" /> <span class="red">* {$lan_must}</span><BR><span class="orange">{$lan_trueemail}</span></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><BR><img src="InterPhoto.vvc.php?key={$vvckey}" onclick="ChangeCaptcha(this);" style="cursor:pointer;" title="{$lan_newcaptcha}" width="280" height="60" />
<input type="hidden" name="vvckey" value="{$vvckey}" />
</td>
</tr>
<tr>
<td>{$lan_verifycode}:&nbsp;</td>
<td><input type="text" name="vvc" size="10" /> <span class="red">* {$lan_must}</span></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="checkbox" name="agreeterms" value="1" checked="checked" /> {$lan_agreeterms} <a href="#" onclick="window.open('InterPhoto.terms.php', 'TermsOfService', 'toolbar=no,status=yes,location=no,menubar=no,resizable=yes,height=600,width=400,scrollbars=yes'); return false;">{$lan_terms}</a></td>
</tr>

<tr>
<td>&nbsp;</td>
<td><BR>
<input type="submit" value=" &nbsp;{$lan_register}&nbsp; " />
</td>
</tr>
</table>
</form><script type="text/JavaScript">document.getElementById('main_register_form').username.focus();</script>

</div>
{/if}

 </div>


<div id="rightbox">
<h2>{$lan_randompics}</h2>
<div id="rightbox_main">
{if $loginforview}
{$loginforview}
{else}
{section name=image loop=$images}
<div class="thumb-sml">
<table>
<thead>
<tr>
<th><a href="{'InterPhoto.php'|GetUrl:'id':$images[image].imageid}">
<img src="InterPhoto.thumbnail.php?file={$images[image].path|cat:"/1/"|cat:$images[image].filename|InterEncode}" class="thumbnail" alt="{$images[image].title|default:$lan_notitle}" title="{$images[image].title|default:$lan_notitle}" onMouseMove="ShowBigImage();" /></a></th>
</tr>
</thead>
</table>
</div>
{/section}
{/if}
</div>
</div>

</td>
</tr>
</table>
</div>


{include file="footer.tpl"}
